package com.smbms.service.bill.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.smbms.dao.bill.mapper.BillMapper;
import com.smbms.pojo.Bill;
import com.smbms.service.bill.BillService;

@Service("billService")
public class BillServiceImpl implements BillService{

	@Autowired
	private BillMapper billMapper;
	
	@Override
	public List<Bill> findBillsByConditions(Bill bill) {
		// TODO Auto-generated method stub
		List<Bill> bill1 = billMapper.searchBill(bill.getProductName(), bill.getProviderId(), bill.getIsPayment());
		return bill1;
	}

}
